package com.hinotoyk.testsystem.entity;

public class TOFQuestion {
    private Integer tofQuestionId;

    private String tofQuestion;

    private String answer;

    private Integer score;

    private Integer teacherId;

    private Integer difficult;

    public TOFQuestion() {
    }

    public TOFQuestion(String tofQuestion, String answer, Integer score, Integer teacherId, Integer difficult) {
        this.tofQuestion = tofQuestion;
        this.answer = answer;
        this.score = score;
        this.teacherId = teacherId;
        this.difficult = difficult;
    }

    @Override
    public String toString() {
        return "TOFQuestion{" +
                "tofQuestionId=" + tofQuestionId +
                ", tofQuestion='" + tofQuestion + '\'' +
                ", answer='" + answer + '\'' +
                ", score=" + score +
                ", teacherId=" + teacherId +
                ", difficult=" + difficult +
                '}';
    }

    public Integer getTofQuestionId() {
        return tofQuestionId;
    }

    public void setTofQuestionId(Integer tofQuestionId) {
        this.tofQuestionId = tofQuestionId;
    }

    public String getTofQuestion() {
        return tofQuestion;
    }

    public void setTofQuestion(String tofQuestion) {
        this.tofQuestion = tofQuestion == null ? null : tofQuestion.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getDifficult() {
        return difficult;
    }

    public void setDifficult(Integer difficult) {
        this.difficult = difficult;
    }
}